﻿<!DOCTYPE html>

<html>
<head>
	<meta name="viewport" content="width=device-width" />
	<title>Обними меня</title>

	<link rel="stylesheet" href="http://yandex.st/bootstrap/2.3.1/css/bootstrap.min.css" />
	<link rel="stylesheet" href="/css/main.css" />
	<link href="/js/scrollbar/jquery.mCustomScrollbar.css" rel="stylesheet" />

	<script src="http://yandex.st/jquery/2.0.0/jquery.min.js"></script>
	@*
	<script src="http://yandex.st/jquery/mousewheel/3.0.6/jquery.mousewheel.min.js"></script>
	<script src="/js/scrollbar/jquery.mCustomScrollbar.min.js"></script>
*@
	<script src="http://yandex.st/bootstrap/2.3.1/js/bootstrap.min.js"></script>

	@*
	<script type="text/javascript">
		jQuery(function ($) {
			$('#content').mCustomScrollbar({
				scrollButtons: {
					enable: true
				},
				theme: "dark-thick"
			});;
		})
	</script>
*@

</head>
<body id='body'>
	<div class="container">
		<div class="navbar navbar-inverse navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container">
					<a class="brand" href="@Url.Action("Index", "Vk")">Обними меня</a>
					<div class="nav-collapse collapse" style="float: right">
						<ul class="nav">

							@{
								int count = 0;
								if (ViewBag.MessageCount is int)
								{
									count = (int)ViewBag.MessageCount;
								}
							}

							@Html.Partial("_HeadMessagePartial", count)


						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="content" class="container">

		@RenderBody()
	</div>

	<footer class="container">
		<center>
			@RenderSection("footer", false)
			
		</center>

	<div style="float: right;"><!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="//vk.com/js/api/openapi.js?95"></script>

<script type="text/javascript">
	VK.init({apiId: 3641178, onlyWidgets: true});
</script>

<!-- Put this div tag to the place, where the Like block will be -->
<div id="vk_like"></div>
<script type="text/javascript">
	VK.Widgets.Like("vk_like", {type: "button"});
</script></div>

	</footer>
</body>
</html>
